
SST Spool File:  c:\data\groupcon\testint.out
Thu Feb 24 10:15:27 1994

ACCESS FILE[c:\data\groupcon\nes92.sav]
CONFIG MORE[OFF] CASE[OFF]
SET state=0
SET state=1; if[v3017==14 | v3017==21 | v3017==31 | v3017==32]
SET state=1; if[v3017==34 | v3017==37 | v3017==52 | v3017==61]
SET state=1; if[v3017==71 | v3017==73]
rem *** create variables for controlling only for PA and IL
set state1=0
set state1=1; if[v3017==14 | v3017==21]
REM *** start recoding variables to reflect political attitudes
REM *** create partyid and same partyid variables for states with a woman
SET partyid=v3634; if[v3634>=0 & V3634<=6]
set simparty=v3634; if[partyid<3 & v3017!=37]
set simparty=6-v3634; if[partyid>3 & v3017==37]
Warning: no valid observations
set simparty=3; if[partyid==3]
set simparty=v3634; if[partyid>3 & v3017!=37]
set simparty=6-v3634; if[partyid<3 & v3017==37]
Warning: no valid observations
REM *** create the liberal/conservative scales
SET libcon=v3509; if[v3509!=4]
set libcon=4; if[v3509==4]
set libcon=3; if[v3509==4 & v3511==1]
set libcon=5; if[v3509==4 & v3511==5]
set libcon=3; if[v3512==1]
set libcon=4; if[v3512==3]
set libcon=5; if[v3512==5]
set libconr=libcon; if[v3017!=37]
set libconr=8-libcon; if[v3017==37]
Warning: no valid observations
REM *** create the variables for other women's attitudes
SET abortion=v3732; if[v3732<6]
SET abortion=5; if[v3732==6]
SET hillthom=(v3310-v3314)/100
SET harser=4-v3741
SET HARSER1=HARSER*V3743
RECODE VAR[HARSER1] MAP[4=3]
RECODE VAR[HARSER1] MAP[6=4,9=5]
RECODE VAR[V3742] MAP[5=0,1=1] TO[SUBHAR]
REM *** RECODE VARIABLES FOR INCOME AND RACE
SET v4104=14; if[v4104==66]
SET v4104=15; if[v4104==77]
set black=0
set black=1; if[v4202==2]
set female=v4201-1
REM *** codes for exposure to any woman candidate
SET womcand=0
SET womcand=1; if[state==1]
SET womcand=1; if[v3016==4201]
SET womcand=1; if[v3016==6201]
SET womcand=1; if[v3016==0103]
SET womcand=1; if[v3016==4303]
SET womcand=1; if[v3016==4304]
SET womcand=1; if[v3016==4318]
SET womcand=1; if[v3016==4317]
Warning: no valid observations
SET womcand=1; if[v3016==4320]
SET womcand=1; if[v3016==4322]
SET womcand=1; if[v3016==4401]
SET womcand=1; if[v3016==4404]
SET womcand=1; if[v3016==2204]
SET womcand=1; if[v3016==2303]
SET womcand=1; if[v3016==2304]
SET womcand=1; if[v3016==2309]
SET womcand=1; if[v3016==2315]
SET womcand=1; if[v3016==1205]
SET womcand=1; if[v3016==1211]
SET womcand=1; if[v3016==1314]
SET womcand=1; if[v3016==5403]
SET womcand=1; if[v3016==4926]
SET womcand=1; if[v3016==4930]
SET womcand=1; if[v3016==2505]
SET womcand=1; if[v3016==2509]
REM *** create the dependent variables
REM *** for states with women 1=voted for the woman 0=else
set femvote=0; if[state==1]
set femvote=1; if[v3017!=37 & v5628==1]
set femvote=1; if[v3017==37 & v5628==2]
Warning: no valid observations
REM *** for states without women 1=Democratic candidate
set senvote=0; if[v5628==2]
set senvote=1; if[v5628==1]
REM *** create variables to control for incumbency advantage
set finc=0
set finc=1; if[v3017==52]
set dinc=0
set dinc=1; if[v3022==12]
set rinc=0
set rinc=1; if[v3022==21]
set v3305=v3305/100
rem *** create the interaction variables for sex
set htint=hillthom*female
set harint=harser*female
set stateint=state*female
set htstate=hillthom*state
set harstate=harser*state
set htstint=hillthom*female*state
set idenint=identify*female
set affctint=polaffct*female
set powerint=polpower*female
set sexint=sexlegit*female
set colint=collactw*female
set sysint=sysblamw*female
set idpaint=idpa*female
set idppint=idpp*female
set idlgint=idlg*female
set idcaint=idca*female
set idsbint=idsb*female
set idpplgin=idpplg*female
set idppcain=idppca*female
set idppsbin=idppsb*female
set pplgint=pplg*female
set ppcaint=ppca*female
set ppsbint=ppsb*female
set idenist=identify*female*state
set affctist=polaffct*female*state
set powerist=polpower*female*state
set sexist=sexlegit*female*state
set colist=collactw*female*state
set sysist=sysblamw*female*state
set idpaist=idpa*female*state
set idppist=idpp*female*state
set idlgist=idlg*female*state
set idcaist=idca*female*state
set idsbist=idsb*female*state
set idpplgis=idpplg*female*state
set idppcais=idppca*female*state
set idppsbis=idppsb*female*state
set pplgist=pplg*female*state
set ppcaist=ppca*female*state
set ppsbist=ppsb*female*state
set interest=(14-v5206-v5210); if[v3017!=71]
set interest=(14-v5219-v5223); if[v3017==71]
set abortint=interest*abortion
set harasint=interest*harser
set htinter=interest*hillthom
set seneval=(v5304-v5305)/100
write file[c:\data\groupcon\seneval.asc] var[senvote seneval partyid \
 libconr abortion hillthom black dinc rinc harser v3305 iwsex92p identify \
 female state identify polaffct polpower sexlegit collactw sysblamw \
 idpa idpp idlg idca idsb]
pause
q
